from urllib import parse


def strans(str_input):
    str_output1 = str_input.encode().decode("unicode_escape")
    str_output2 = str_output1.encode("raw_unicode_escape").decode(
        "utf-8")
    return str_output2


def strans_url(str_input):
    return parse.unquote(strans(str_input))